package com.sc.nft.service;


import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.sc.nft.entity.ShareProfitPanel;
import com.sc.nft.enums.MarketLevelEnum;
import com.sc.nft.enums.MarketTypeEnum;

import java.util.List;

/**
 * 服务接口
 *
 * @author zxy
 * @since 2023-12-09 15:58:57
 * @description 商户banner
 */
public interface ShareProfitPanelService {


    /**
     * 交易池分润模版列表
     * @return
     */
    List<ShareProfitPanel> listTransPoolProfit();
    /**
     * 分润模板列表
     * @param panelName
     * @param marketLevel
     * @param page
     * @return
     */
   Page<ShareProfitPanel> panelPage(String panelName, MarketLevelEnum marketLevel,Boolean status,Page page);

    /**
     * 删除分润模板
     * @param id
     */
   void removePanel(Long id);

    /**
     * 简单列表
     * @param panel
     * @param marketType
     * @return
     */
   List<ShareProfitPanel> findList(String panel, MarketLevelEnum marketType);


    ShareProfitPanel getById(Long id);
}
